# Tire 1 = Front driver's tire
# Tire 2 = Front passenger's tire
# Tire 3 = Rear driver's tire
# Tire 4 = Rear passenger's tire

def main(cont):
	own = cont.owner.parent
	
	# Names
	own["Tire_1_Name"] = "Kart_WheelFD"
	own["Tire_2_Name"] = "Kart_WheelFP"
	own["Tire_3_Name"] = "Kart_WheelBD"
	own["Tire_4_Name"] = "Kart_WheelBP"

	# Radii
	own["Tire_1_Radius"] = 0.4
	own["Tire_2_Radius"] = 0.4
	own["Tire_3_Radius"] = 0.4
	own["Tire_4_Radius"] = 0.4
	
	# Suspension Heights
	own["Tire_1_Suspension"] = 0.2
	own["Tire_2_Suspension"] = 0.2
	own["Tire_3_Suspension"] = 0.2
	own["Tire_4_Suspension"] = 0.2
	
	# Suspension Angles
	own["Tire_1_SuspensionAngle"] = [ 0.0, 0.0, -1.0]
	own["Tire_2_SuspensionAngle"] = [ 0.0, 0.0, -1.0]
	own["Tire_3_SuspensionAngle"] = [ 0.0, 0.0, -1.0]
	own["Tire_4_SuspensionAngle"] = [ 0.0, 0.0, -1.0]
	
	# Suspension Compressions
	own["Tire_1_SuspensionCompression"] = 6.0
	own["Tire_2_SuspensionCompression"] = 6.0
	own["Tire_3_SuspensionCompression"] = 6.0
	own["Tire_4_SuspensionCompression"] = 6.0
	
	# Suspension Dampings
	own["Tire_1_SuspensionDamping"] = 5.0
	own["Tire_2_SuspensionDamping"] = 5.0
	own["Tire_3_SuspensionDamping"] = 5.0
	own["Tire_4_SuspensionDamping"] = 5.0
	
	# Suspension Stiffness
	own["Tire_1_SuspensionStiffness"] = 12.5
	own["Tire_2_SuspensionStiffness"] = 12.5
	own["Tire_3_SuspensionStiffness"] = 12.5
	own["Tire_4_SuspensionStiffness"] = 12.5
	
	# Tire Grips
	own["Tire_1_Grip"] = 30.0
	own["Tire_2_Grip"] = 30.0
	own["Tire_3_Grip"] = 30.0
	own["Tire_4_Grip"] = 30.0
	
	# Roll Influence
	own["Tire_1_RollInfluence"] = 0.06
	own["Tire_2_RollInfluence"] = 0.06
	own["Tire_3_RollInfluence"] = 0.06
	own["Tire_4_RollInfluence"] = 0.06
	
	# Axis
	own["Tire_1_Axis"] = [ -1.0, 0.0, 0.0]
	own["Tire_2_Axis"] = [ -1.0, 0.0, 0.0]
	own["Tire_3_Axis"] = [ -1.0, 0.0, 0.0]
	own["Tire_4_Axis"] = [ -1.0, 0.0, 0.0]
	
	# Steerability
	own["Tire_1_Steerable"] = 1
	own["Tire_2_Steerable"] = 1
	own["Tire_3_Steerable"] = 0
	own["Tire_4_Steerable"] = 0
	
	# Other Settings
	own["Mass"] = 600
	own["GasPower"] = 800
	own["ReversePower"] = 600
	own["BrakePower"] = 1000
	own["EBrakePower"] = 300
	own["TurnPower"] = 0.125